<div style="margin: 0 auto; width: 700px">
    <p style="font-weight: bold; font-size: 18px; color: #ff0000;">Total</p>
    <ul>
        <li>
            <b>Total User:</b> <?php echo $daily['total_user']; ?> |
            <b>Male:</b> <?php echo $daily['total_male']; ?> |
            <b>Female:</b> <?php echo $daily['total_female']; ?> <br />
            <ul>
            <?php foreach($daily['total_user_per_country'] as $country): ?>
                <li>
                    <b><?php echo strtoupper($country['code']); ?>:</b> <?php echo $country['amount']; ?> |
                    <b>Male:</b> <?php echo @$country['amount_male']; ?> |
                    <b>Female:</b> <?php echo @$country['amount_female']; ?>
                </li>
            <?php endforeach; ?>
            </ul>
        </li>
        <li>
            <b>Enabled User:</b> <?php echo $daily['total_enabled_user']; ?>
        </li>
        <li>
            <b>Total Verification:</b> <?php echo $daily['total_verification']; ?> |
            <b>Web:</b> <?php echo $daily['total_verification_web']; ?> |
            <b>iOS:</b> <?php echo $daily['total_verification_ios']; ?> |
            <b>Android:</b> <?php echo $daily['total_verification_android']; ?>
        </li>
        <li>
            <b>Age Range</b>
            <20: <?php echo $daily['total_user_under_20']; ?> |
            20-25: <?php echo $daily['total_user_20_25']; ?> |
            26-30: <?php echo $daily['total_user_26_30']; ?> |
            >30: <?php echo $daily['total_user_upper_30']; ?>
        </li>
        <li>
            <b>Played Snapshot:</b> <?php echo $daily['total_user_played_snapshot']; ?>
        </li>
    </ul>

    <p style="font-weight: bold; font-size: 18px; color: #ff0000;">Daily</p>
    <ul>
        <li>
            <b>Verification:</b> <?php echo $daily['verification']; ?> |
            <b>Skip:</b> <?php echo $daily['skip_verification']; ?>
        </li>
        <li>
            <b>New User:</b> <?php echo $daily['new_user']; ?> (M:<?php echo $daily['new_male']; ?>,F:<?php echo $daily['new_female']; ?>) |
            <b>Web:</b> <?php echo $daily['new_user_web']; ?> |
            <b>iOS:</b> <?php echo $daily['new_user_ios']; ?> |
            <b>Android:</b> <?php echo $daily['new_user_android']; ?>
            <ul>
                <?php foreach($daily['new_user_per_country'] as $country): ?>
                    <li>
                        <b><?php echo strtoupper($country['code']); ?>:</b> <?php echo $country['amount']; ?> |
                        <b>Male:</b> <?php echo @$country['amount_male']; ?> |
                        <b>Female:</b> <?php echo @$country['amount_female']; ?>
                    </li>
                <?php endforeach; ?>
            </ul>
        </li>
        <li>
            <b>A1:</b> <?php echo $daily['a1_total']; ?> |
            <b>Web:</b> <?php echo $daily['a1_web']; ?> |
            <b>iOS:</b> <?php echo $daily['a1_ios']; ?> |
            <b>Android:</b> <?php echo $daily['a1_android']; ?>
        </li>
        <li>
            <b>A7:</b> <?php echo $daily['a7_total']; ?> |
            <b>Web:</b> <?php echo $daily['a7_web']; ?> |
            <b>iOS:</b> <?php echo $daily['a7_ios']; ?> |
            <b>Android:</b> <?php echo $daily['a7_android']; ?>
        </li>
        <li>
            <b>A30:</b> <?php echo $daily['a30_total']; ?> |
            <b>Web:</b> <?php echo $daily['a30_web']; ?> |
            <b>iOS:</b> <?php echo $daily['a30_ios']; ?> |
            <b>Android:</b> <?php echo $daily['a30_android']; ?>
        </li>
        <li>
            <b>R30:</b> <?php echo $daily['r30_total']; ?> (<?php echo round($daily['r30_total']/$daily_30['a1_total']*100, 2) ?>%) |
            <b>Web:</b> <?php echo $daily['r30_web']; ?> (<?php echo round($daily['r30_web']/$daily_30['a1_web']*100, 2) ?>%) |
            <b>iOS:</b> <?php echo $daily['r30_ios']; ?> (<?php echo round($daily['r30_ios']/$daily_30['a1_ios']*100, 2) ?>%) |
            <b>Android:</b> <?php echo $daily['r30_android']; ?> (<?php echo round($daily['r30_android']/$daily_30['a1_android']*100, 2) ?>%)
        </li>
        <li>
            <b>C30:</b> <?php echo $daily['c30_total']; ?> (<?php echo round($daily['c30_total']/$daily_30['a1_total']*100, 2) ?>%) |
            <b>Web:</b> <?php echo $daily['c30_web']; ?> (<?php echo round($daily['c30_web']/$daily_30['a1_web']*100, 2) ?>%) |
            <b>iOS:</b> <?php echo $daily['c30_ios']; ?> (<?php echo round($daily['c30_ios']/$daily_30['a1_ios']*100, 2) ?>%) |
            <b>Android:</b> <?php echo $daily['c30_android']; ?> (<?php echo round($daily['c30_android']/$daily_30['a1_android']*100, 2) ?>%)
        </li>
        <li>
            <b>RT30:</b> <?php echo $daily['rt30_total']; ?> (<?php echo round($daily['rt30_total']/$daily_30['new_user']*100, 2) ?>%) |
            <b>Web:</b> <?php echo $daily['rt30_web']; ?> (<?php echo round($daily['rt30_web']/$daily_30['new_user_web']*100, 2) ?>%) |
            <b>iOS:</b> <?php echo $daily['rt30_ios']; ?> (<?php echo round($daily['rt30_ios']/$daily_30['new_user_ios']*100, 2) ?>%) |
            <b>Android:</b> <?php echo $daily['rt30_android']; ?> (<?php echo round($daily['rt30_android']/$daily_30['new_user_android']*100, 2) ?>%)
        </li>
        <li>
            <b>Avg Session (minutes):</b> <?php echo $daily['average_session']; ?> |
            <b>Web:</b> <?php echo $daily['average_session_web']; ?> |
            <b>iOS:</b> <?php echo $daily['average_session_ios']; ?>
            <?php /* <b>Android:</b> <?php echo $daily['average_session_android']; ?> */ ?>
        </li>
        <li>
            <b>Snapshot:</b> <?php echo $daily['snapshot_total']; ?> (actions) <?php echo $daily['snapshot_total_user']; ?> (users)
        </li>
        <li>
            <b>Snapshot Like:</b> <?php echo $daily['snapshot_like']; ?> (actions) <?php echo $daily['snapshot_like_user']; ?> (users)
        </li>
        <li>
            <b>Snapshot Dislike:</b> <?php echo $daily['snapshot_dislike']; ?> (actions) <?php echo $daily['snapshot_dislike_user']; ?> (users)
        </li>
        <li>
            <b>Mutual Match:</b> <?php echo $daily['snapshot_mutual_match']; ?>
        </li>
        <?php /*<li>
            <b>Search Nearnow:</b> <?php echo $daily['search']; ?> (actions) <?php echo $daily['search_user']; ?> (users)
        </li>*/ ?>
        <li>
            <b>Chat Message:</b> <?php echo $daily['chat']; ?> (actions) <?php echo $daily['chat_user']; ?> (users)
        </li>
        <li>
            <b>Send Gift:</b> <?php echo $daily['send_gift']; ?> (actions) <?php echo $daily['send_gift_user']; ?> (users)
            <br />
            <?php foreach($gifts as $gift): ?>
                <img
                    width="25px" height="25px"
                    src="<?php echo Yii::app()->params[ENUM_CONFIG_PARAM_GIFT_URL].'/'.$gift['image']; ?>"
                />
                <?php echo $gift['amount']; ?>
            <?php endforeach; ?>
        </li>
        <li>
            <b>Send Sticker:</b> <?php echo $daily['send_sticker']; ?> (actions) <?php echo $daily['send_sticker_user']; ?> (users)
            <br />
            <?php foreach($stickers as $sticker): ?>
                <img
                    width="25px" height="25px"
                    src="<?php echo Yii::app()->params[ENUM_CONFIG_PARAM_STICKER_URL].'/'.$sticker['image']; ?>"
                />
                <?php echo $sticker['amount']; ?>
            <?php endforeach; ?>
        </li>
        <li>
            <b>View Profile:</b> <?php echo $daily['view_profile']; ?> (actions) <?php echo $daily['view_profile_user']; ?> (users)
        </li>
        <li>
            <b>Invite Friend:</b> <?php echo $daily['invite']; ?> (actions) <?php echo $daily['invite_user']; ?> (users)
        </li>
    </ul>
</div>
